//
//  MyFansTableViewCell.m
//  YeDian
//
//  Created by 罗西 on 3/26/16.
//  Copyright © 2016 罗西. All rights reserved.
//

#import "MyFansTableViewCell.h"
#import "UIButton+WebCache.h"
#import "Tools.h"

@implementation MyFansTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        _imgView = [[UIButton alloc]initWithFrame:CGRectMake(10, 10, 60, 60)];
        [self.contentView addSubview:_imgView];
        _imgView.backgroundColor = [UIColor lightGrayColor];
        
        _nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(80, 20, SCREEN_WIDTH-100, 15)];
        _nameLabel.font = [UIFont systemFontOfSize:15];
        [self.contentView addSubview:_nameLabel];
        
        _desLabel = [[UILabel alloc]initWithFrame:CGRectMake(80, 45, SCREEN_WIDTH-100, 15)];
        _desLabel.font = [UIFont systemFontOfSize:11];
        _desLabel.textColor = [UIColor lightGrayColor];
        [self.contentView addSubview:_desLabel];
        
    }
    
    return self;
}

@end
